package wangm.netty.test1;

import com.alibaba.fastjson.JSONWriter;
import com.sun.xml.internal.messaging.saaj.util.ByteOutputStream;
import wangm.bean.User;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToByteEncoder;

import java.io.BufferedWriter;
import java.io.OutputStreamWriter;

/**
 * description
 *
 * @author zk
 * @since 2018/7/20
 */
public class Test1MessageToByteEncoder extends MessageToByteEncoder<User> {
    @Override
    protected void encode(ChannelHandlerContext ctx, User msg, ByteBuf out) throws Exception {

    }
}
